﻿using System.Collections.Generic;
using Less.SRV;
using Less.Core.Model;

namespace LessBoard.Models
{
    // TODO: Translation editor
    public class ConfigModel
    {
        public static ConfigSRV SRV = new ConfigSRV("auditConnection");
        

        public IEnumerable<ConfigSetting> ConfigSettings
        {
            get { return SRV.GetAll(); }
        }

        public IEnumerable<ConfigSetting> TranslationSettings
        {
            get { return SRV.GetAllTransalations(); }
        }

        public ConfigSetting ConfigSetting { get; set; }
        
    }
}